lib/repo: Auto-recreate repo/tmp if it's deleted
authorColin Walters <walters@verbum.org>
Wed, 19 Jul 2017 14:35:06 +0000 (10:35 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 19 Jul 2017 15:01:19 +0000 (15:01 +0000)
commit779f125cbe0a2e9b4c0d75d1ed2b9606424802c3
tree14cecacd40fb60f5a00ee6f593d3ce768364a719
parentc740b7f6d2310105b1a978aa7448d529bacad0c9
lib/repo: Auto-recreate repo/tmp if it's deleted

We can accumulate a lot of space there; let's be nice to people who delete the
whole directory.

Closes: https://github.com/ostreedev/ostree/issues/1018
Closes: #1020
Approved by: jlebon
src/libostree/ostree-repo.c
tests/basic-test.sh